// SERVER SIDE


// This script is only just to make the file, I felt it was needed to make a whole new folder.


local CurrentDay  = os.date("%m-%d-%y")
if (not file.IsDir("TDM/Logs","DATA")) then
    file.CreateDir("TDM/Logs")
end
if not(file.Exists("TDM/Logs/"..CurrentDay..".txt","DATA")) then
	file.Write("TDM/Logs/"..CurrentDay..".txt", "Logging files for "..CurrentDay..":\n")
	print("[TDM] Wrote file : " .. "TDM/Logs/"..CurrentDay..".txt")
end
